package com.ysd.lis.entity.qi;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 指标项目条件表
 * </p>
 *
 * @author prs
 * @since 2024-07-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("QI_INDEX_SQL_SELECT")
public class QiIndexSqlSelect extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 指标id
     */
    @TableField("INDEX_ID")
    private String indexId;

    /**
     * 指标报表编码
     */
    @TableField("INDEX_CODE")
    private String indexCode;

    /**
     * 项目id
     */
    @TableField("ITEM_ID")
    private String itemId;

    /**
     * 项目编码
     */
    @TableField("ITEM_CODE")
    private String itemCode;

    /**
     * 专业id
     */
    @TableField("MAJOR_ID")
    private String majorId;

    /**
     * 专业编码
     */
    @TableField("MAJOR_CODE")
    private String majorCode;

    /**
     * 数据源id
     */
    @TableField("QI_DATABASE_ID")
    private String qiDatabaseId;
    /**
     * 数据源id
     */
    @TableField("QI_SQL_ID")
    private String qiSqlId;

    /**
     * 表字段
     */
    @TableField("TABLE_FIELD")
    private String tableField;

    /**
     * 排序号
     */
    @TableField("SEQ")
    private Integer seq;

    /**
     * 字段别名
     */
    @TableField("ALIAS")
    private String alias;
    /**
     * 字段别名
     */
    @TableField("AGGREGATION")
    private String aggregation;

}
